﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;

namespace WebFormsBinder
{
    public abstract class AbstractBinding<TEntity>
    {
        public abstract PropertyInfo Property { get; }

        internal abstract string JSValue { get; }
        internal abstract string JSTypeValidationCondition { get; }
        internal abstract string JSElement { get; }

        public abstract void ToForm(TEntity entity);
        public abstract void ToEntity(TEntity entity);
    }
}
